<body>
<div class="ui-form w500">
<form id="form" action="{url('index/adduser')}">
<input type="hidden" name="fid" value="{$fid}"/>
<table>
    <tr><th>用户名:</th><td><input datatype="s" nullmsg="请输入用户名" class="input" type="text" name="username" value="{$info['username']}"/></td></tr>
    <tr><th>密 码:</th><td><input  class="input" type="password" name="password" datatype="*6-16" nullmsg="请设置密码！" errormsg="密码范围在6~16位之间！" /></td></tr>
    <tr><th>确认密码:</th><td><input class="input" type="password" name="chackpassword"  datatype="*" recheck="password" nullmsg="请再输入一次密码！" errormsg="您两次输入的账号密码不一致！" /></td></tr>
</table>
<div class="btn fn-tac">
    <input type="submit" value="确定保存" class="button button-blue" />
    <input type="reset" value="重置" class="button button-yellow" />
</div>
</form>
</div>
<script type="text/javascript">
Do('base','Dialog','Form',function(){ 
    $('#form').cpFormPage();
    $(".win").click(function(){
        $(this).cpWindows();
    });
})
</script>
</body>